#!/bin/sh
# Args: $1 = 0-1 matrix file
# wrapper to call mathematica from the command line

if [ -z "$1" ] ; then
	exit 1;
fi

# text file containing mathematica commands
commands=GSS_ILP.m
math -noprompt -run "file=\"$1\"<<$commands"
